package com.hyd.dao;

import java.util.List;
import com.base.mybatis.plus.EntityWrapper;
import org.apache.ibatis.annotations.Param;

import com.hyd.dao.model.ChemicalType;
import com.hyd.dao.model.ChemicalTypeExample;

public interface ChemicalTypeMapper {
	int countByExample(ChemicalTypeExample example);

	int deleteByExample(ChemicalTypeExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(ChemicalType record);

	int insertSelective(ChemicalType record);

	List<ChemicalType> selectByExample(ChemicalTypeExample example);

	List<ChemicalType> selectByExampleWithBLOBs(ChemicalTypeExample example);

	ChemicalType selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") ChemicalType record,@Param("example") ChemicalTypeExample example);

	int updateByExampleWithBLOBs(@Param("record") ChemicalType record, @Param("example") ChemicalTypeExample example);

	int updateByExample(@Param("record") ChemicalType record,@Param("example") ChemicalTypeExample example);

	int updateByPrimaryKeySelective(ChemicalType record);

	int updateByPrimaryKeyWithBLOBs(ChemicalType record);

	int updateByPrimaryKey(ChemicalType record);

	List<ChemicalType> selectByWrapper(EntityWrapper<ChemicalType> wrapper);

	List<ChemicalType> selectByWrapperWithBLOBs(EntityWrapper<ChemicalType> wrapper);

}
